package dao;

import entity.Invedetails;

import java.util.List;

public interface InvedetailsDao {
    //按条件查询临时表商品
    public List<Invedetails> query(int typeid);
    //按单号查询临时表商品
    public List<Invedetails> queryorder(String ordernumber);
    //添加临时表商品
    public int add(Invedetails invedetails);
    //按单号删除盘点单
    public int del(String ordernumber);
    //修改条件状态
    public int update(int typeid);
    //按id删除盘点单
    public int delid(int id);
    //按编号查询单个
    public Invedetails queryone(String bianhao);
    //按编号修改单个
    public int updateone(Invedetails invedetails);
}
